import request from '@/utils/request'

export function getLogList(params) {
  return request({
    url: '/online/flypass/events',
    method: 'get',
    params
  })
}

export function getAuthLogList(params) {
  return request({
    url: '/online/authorization/event/character',
    method: 'get',
    params
  })
}

export function getAppstorLogList(params) {
  return request({
    url: '/online/appstore-operator/appstore/event',
    method: 'get',
    params
  })
}

export function getActionList(params) {
  return request({
    url: '/online/flypass/event/codes',
    method: 'get',
    params
  })
}

export function getAppstorActionList(params) {
  return request({
    url: '/online/appstore-operator/appstore/event/action',
    method: 'get',
    params
  })
}

export function getAuthActionList(params) {
  return request({
    url: '/online/authorization/event/codes',
    method: 'get',
    params
  })
}
